package com.xmy.cultivate.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum YearClassEnum {


    ZERO(0,"幼儿园"),
    ONE(1,"一年级"),
    TWO(2,"二年级"),
    THREE(3,"三年级"),
    FOURE(4,"四年级"),
    FIVE(5,"五年级"),
    SIX(6,"六年级"),
    SEVEN(7,"初一"),
    EIGHT(8,"初二"),
    NINE(9,"初三"),
    TEN(10,"高一"),
    ELEVEN(11,"高二"),
    TWELVE(12,"高三");

    @EnumValue
    private Integer key;

    @JsonValue
    private String value;

    YearClassEnum(Integer key, String value){
        this.key = key;
        this.value = value;
    }
}
